#include<iostream>
using namespace std;
int main(){
  int a,b;
  char c;
  cin>>a>>b>>c;
  switch(c) {
    case '+':
      cout<<a+b;
      break;
    case '-':
      cout<<a-b;
      break;
    case '*':
      cout<<a*b;
      break;
    case '/':
      if(b) cout<<a/b;
      else cout<<"Divided by zero!";
      break;
    default :
      cout<<"Invalid operator!";
  }
}